import { get, post } from "../request";

const pipeWarning = {
  queryByPage(pageDto) {
    return post("/pipeWarning/queryByPage", pageDto);
  },
  add(pipeWarning) {
    return post("/pipeWarning/add", pipeWarning);
  },
  edit(pipeWarning) {
    return post("/pipeWarning/edit", pipeWarning);
  },
  deleteById(pipeWarId) {
    return get("/pipeWarning/deleteById", pipeWarId);
  },
};

export default pipeWarning;
